package br.com.trimark.generic.controller;

import javax.servlet.ServletContext;
import javax.xml.rpc.ServiceException;

import br.com.trimark.utils.exception.BusinessException;

public class InitializeController {

	public static void initialize(ServletContext context) {

		try {
			inicializaDados(context);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

	/**
	 * Inicializa os objetos gerais do portal
	 * 
	 * @param context
	 * @throws BusinessException
	 * @throws ServiceException
	 */
	public static void inicializaDados(ServletContext context)
			throws BusinessException {
		context.setAttribute("listMenu", "Teste");

	}

}